<?php

return [
    '__pattern__' => [
        'name' => '\w+',
    ],

    //用户相关接口
    'login' => 'api/login/login', //登录
    'logout' => 'api/login/logout', //登出
    'getVerify' => 'api/login/getVerify',  //获取二维码

    'checkSN' => 'api/index/checkSN',   //用户sn码登录（录音笔的sn码）

    'userinfo' => 'api/users/info',     //用户详情信息
    'changePassword' => 'api/users/changePassword', //用户密码修改
    'userInDepartList' => 'api/users/list',         //带分页模糊搜索的用户列表
    'userArrayList' => 'api/users/listArray',       //某一组的用户列表
    'userCreate' => 'api/users/add',        //用户添加
    'userUpdate' => 'api/users/updates',    //用户更新
    'statusChange' => 'api/users/statusChange', //修改用户冻结状态
    'changeWhiteName' => 'api/users/whiteName', //用户添加白名单

    //系统配置
    'getWebConfig' => 'api/index/getWebConfig',     //web端获取系统配置
    'systemDetail' => 'api/index/systemDetail',     //当前web服务器状态

    //设备相关接口  
    'equList' => 'api/equipment/list',  //获取设备列表
    'equipmentEditStatus' => 'api/equipment/updateStatus',  //修改授权状态


    //群组相关接口
    'dptAdd' => 'api/department/create',    //新增群组
    'dptList' => 'api/department/list',     //群组列表
    'dptEdit' => 'api/department/edit',     //编辑群组
    'dptDel' => 'api/department/delete',    //删除群组
    'dptDetail' => 'api/department/detail',     //群组详情

    //角色相关接口
    'groupList' => 'api/group/groupList',   //角色列表
    'groupOne' => 'api/group/groupOne',     //角色详情
    'groupEdit' => 'api/group/groupEdit',   //编辑角色

    //权限相关接口
    'ruleList' => 'api/rule/lists',     //权限列表
    'ruleAdd' => 'api/rule/create',     //添加权限
    'ruleDel' => 'api/rule/delete',     //删除权限
    'ruleEdit' => 'api/rule/edit',      //编辑权限

    //升级管理相关接口
    'versionList' => 'api/version/getList',     //软件包列表
    'versionLatestData' => 'api/version/getLatestDate',     //最新软件包列表
    'versionUpload' => 'api/version/uploadVersionPackage',  //上传软件包
    'versionUpdate' => 'api/version/editVersion',       //更新软件包
    'versionDel' => 'api/version/delPackage',       //删除软件包
    //固件
    'firmware/index' => 'api/firmware/index',       //固件列表
    'firmware/store' => 'api/firmware/store',       
    'firmware/update' => 'api/firmware/update',
    'firmware/check' => 'api/firmware/check',
    'firmware/download' => 'api/firmware/download',

];